package com.decoration.basic.util;

import com.decoration.basic.entity.DecCtctionPo;
import com.decoration.basic.entity.DecorationPicture;

public class DecCtctionUtil {
    public static DecorationPicture buildDecPicture(DecorationPicture inpic,DecCtctionPo inf){
        inpic.setCtcId(inf.getCtcid());
        String picInfId = String.valueOf(SnowFlake.getInstance().nextId());
        inpic.setPicInfId(picInfId);
        inpic.setUserId(inf.getUpdateId());
        inpic.setFirFlag(1);  // 类型标志 0-日报图片，1-材料图片，3-设计图纸

        return null;
    }
}
